package com.wy.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wy.model.entity.Course;
import com.wy.system.mapper.CourseMapper;
import com.wy.system.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> implements CourseService {

  @Autowired
  private CourseMapper courseMapper;

  @Override
  public List<Course> getCourseList() {
    List<Course> courseList = courseMapper.getCourseList();
    return courseList;
  }
}
